import Vue from 'vue'
import App from './App.vue'
import store from './store'
import router from './routers'
import Element from 'element-ui'
import "element-ui/lib/theme-chalk/index.css"

import axios from "./axios";
import global from './globalFun'


Vue.config.productionTip = false

Vue.use(Element)
Vue.prototype.$axios = axios
Vue.prototype.$store = store

// require("./mock.js")


// 之后同时在Vue示例中去全局声明这个文件
const app = new Vue({
  render: h => h(App),
  router: router,
  global
})

app.$mount('#app')
